Canonical Conditional Rewrite Systems
نویسندگان
چکیده
Conditional equations have been studied for their use in the specification of abstract data types and as a computational paradigm that combines logic and function programming in a clean way. In this paper we examine different formulations of conditional equations as rewrite systems, compare their expressive power and give sufficient conditions for rewrite systems to have the "confluence" property. We then examine a restriction of these systems using a "decreasing" ordei~ng. With this restriction, most of the basic notions (like rewriting and computing normal forms) are decidable, the "critical pair" lemma holds, and some formulations preserve eanonicity. 1. I n t r o d u c t i o n Conditional rewriting systems arise naturally in the algebraic specification of data types and have been studied largely from this perspective [Remy-82, Kaplan-84, Bergstra-Klop-82]. See also [Brand-Darrlnger-Joyner-78]. With differing restrictions on lef t -hand sides and conditions, useful results have been obtained about the confluence of such systems. More recently, conditional rewriting systems have been shown to provide a natural computational paradigm combining logic and functional programming [Dershowitz-Plaisted-85, Fribourg-85, Goguen-Meseguer-86]. A program is a set of conditional rules and a computation is the process of finding a substi tut ion that makes two terms equal in the underlying equational theory. * This research was supported in part by the National Science Foundation under Grant DCR 85-13417. The second author is also partly supported by the Grant of the Committee on Aid to Research Activity of Faculty of Engineering and Computer Science (Concordia University), Fonds pour la Formation de Chercheurs et l'Aide a la Recherche (Quebec) and the Natural Science and Engineering Research Council (Canada).
منابع مشابه
Rewriting in Varieties of Idempotent Semigroups
We consider rewriting as a tool for solving identity problems in varieties of idempotent semigroups. It is known that there exist finite canonical term rewrite systems and finite canonical word rewrite systems for only a very limited number of those varieties. We present a finite canonical conditional word rewrite system for a particular variety in which the classical approaches cannot be appli...
متن کاملCanonical Ground Horn Theories
An abstract framework of canonical inference based on proof orderings is applied to ground Horn theories with equality. A finite presentation that makes all normal-form proofs available is called saturated. To maximize the chance that a saturated presentation be finite, it should also be contracted, in which case it is deemed canonical. We apply these notions to propositional Horn theories – or...
متن کاملConfluence of Conditional Term Rewrite Systems via Transformations
Conditional term rewriting is an intuitive yet complex extension of term rewriting. In order to benefit from the simpler framework of unconditional rewriting, transformations have been defined to eliminate the conditions of conditional term rewrite systems. Recent results provide confluence criteria for conditional term rewrite systems via transformations, yet they are restricted to CTRSs with ...
متن کاملCanonical Inference for Implicational Systems
Completion is a general paradigm for applying inferences to generate a canonical presentation of a logical theory, or to semi-decide the validity of theorems, or to answer queries. We investigate what canonicity means for implicational systems that are axiomatizations of Moore families – or, equivalently, of propositional Horn theories. We build a correspondence between implicational systems an...
متن کاملOn Modularity of Termination and Confluence Properties of Conditional Rewrite Systems
We investigate the modularity behaviour of termination and connuence properties of conditional term rewriting systems. In particular , we show how to obtain suucient conditions for the modularity of weak termination, weak innermost termination, (strong) innermost termination , (strong) termination, connuence and completeness of conditional rewrite systems.
متن کامل